package secondStage.part2.多态.two;

/**
 * @ClassName: [Cat]
 * @Description:
 * @Author: [黄劲松]
 * @CreateDate: [2021-03-14]
 * @Version: [v1.0]
 */
public class Cat extends Animal {//继承关系

    @Override
    public void eat() {//方法重写
        System.out.println("猫吃鱼");
    }

    public void playGame() {
        System.out.println("猫捉迷藏");
    }
}
